//
//  MQMyOrderCell.m
//  meiquan
//
//  Created by hejingjin on 2017/10/24.
//  Copyright © 2017年 mq. All rights reserved.
//

#import "MQMyOrderCell.h"

@implementation MQMyOrderCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
    
    _firstbutton.layer.cornerRadius = 3.f;
    _firstbutton.layer.masksToBounds = YES;
    _firstbutton.layer.borderWidth = 1.f;
    _firstbutton.layer.borderColor = BSTColorFromRGB(0x333333).CGColor;
    _lastbutton.layer.cornerRadius = 3.f;
    _lastbutton.layer.masksToBounds = YES;
    
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

+(instancetype)CellWithTableview:(UITableView *)tableview{
    
    static NSString *ID = @"myordercellid";
    MQMyOrderCell *cell = [tableview dequeueReusableCellWithIdentifier:ID];
    if (cell == nil) {
        cell = [[[NSBundle mainBundle] loadNibNamed:NSStringFromClass(self) owner:nil options:nil] lastObject];
    }
    return cell;
}

@end
